package net.dopan.pigframe.demo.service;

import java.util.Set;

public interface UserRedisService {

    public void follow(String userId);
    public void unfollow(String userId);
    public Set<String> following();
    public Set<String> followedBy();
    public boolean isfollowing(String userId);
    public boolean isfollowedBy(String userId);
    public long followingCount();
    public long followerCount();
    public Set<String> commonfollowing(String userId);
    public Set<String> commonfollowedBy(String userId);

}
